package com.webshooter.decoder;

public class MouseUpCommand extends Command {

    private String name;
    private int mouseButton = 0;

    public MouseUpCommand(String name, String mouseButtonString) {
        this.name = name;
        this.mouseButton = Integer.parseInt(mouseButtonString);

        try {
            this.mouseButton = Integer.parseInt(mouseButtonString);
        } catch (Exception ex) {
        }
    }

    @Override
    public String getName() {
        return name;
    }

    public int getmouseButton() {
        return mouseButton;
    }
}
